package com.ruoyi.activiti.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 商家对象 merchant
 * 
 * @author ruoyi
 * @date 2023-02-01
 */
public class Merchant extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long mid;

    /** 商家名称 */
    @Excel(name = "商家名称")
    private String mname;

    /** 手机号 */
    @Excel(name = "手机号")
    private String mphone;

    /** 身份证 */
    @Excel(name = "身份证")
    private String idNumber;

    /** 审核是否通过1通过2未通过 */
    @Excel(name = "审核是否通过1通过2未通过")
    private Long audit;

    /** 支付账号 */
    @Excel(name = "支付账号")
    private String account;

    /** 菜品id */
    @Excel(name = "菜品id")
    private Long cuisineId;

    /** 合同图片 */
    @Excel(name = "合同图片")
    private String contract;

    /** 用户id */
    @Excel(name = "用户id")
    private Long uid;

    /** 支付金额 */
    @Excel(name = "支付金额")
    private BigDecimal monetary;

    /** 银行卡 */
    @Excel(name = "银行卡")
    private String bankCard;

    public void setMid(Long mid) 
    {
        this.mid = mid;
    }

    public Long getMid() 
    {
        return mid;
    }
    public void setMname(String mname) 
    {
        this.mname = mname;
    }

    public String getMname() 
    {
        return mname;
    }
    public void setMphone(String mphone) 
    {
        this.mphone = mphone;
    }

    public String getMphone() 
    {
        return mphone;
    }
    public void setIdNumber(String idNumber) 
    {
        this.idNumber = idNumber;
    }

    public String getIdNumber() 
    {
        return idNumber;
    }
    public void setAudit(Long audit) 
    {
        this.audit = audit;
    }

    public Long getAudit() 
    {
        return audit;
    }
    public void setAccount(String account) 
    {
        this.account = account;
    }

    public String getAccount() 
    {
        return account;
    }
    public void setCuisineId(Long cuisineId) 
    {
        this.cuisineId = cuisineId;
    }

    public Long getCuisineId() 
    {
        return cuisineId;
    }
    public void setContract(String contract) 
    {
        this.contract = contract;
    }

    public String getContract() 
    {
        return contract;
    }
    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }
    public void setMonetary(BigDecimal monetary) 
    {
        this.monetary = monetary;
    }

    public BigDecimal getMonetary() 
    {
        return monetary;
    }
    public void setBankCard(String bankCard) 
    {
        this.bankCard = bankCard;
    }

    public String getBankCard() 
    {
        return bankCard;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("mid", getMid())
            .append("mname", getMname())
            .append("mphone", getMphone())
            .append("idNumber", getIdNumber())
            .append("audit", getAudit())
            .append("account", getAccount())
            .append("cuisineId", getCuisineId())
            .append("contract", getContract())
            .append("uid", getUid())
            .append("monetary", getMonetary())
            .append("bankCard", getBankCard())
            .toString();
    }
}
